const add = (x, y) => {
  return x + y
}

new Promise((resolve, reject) => {
  setTimeout(() => {
    console.log(121212)
    resolve()
  }, 1000)
})

console.log(add(1,2))